package day06.Lx;

import java.time.DayOfWeek;
import java.time.LocalDate;

public class Lian07 {
    public static void main(String[] args) {
        LocalDate of = LocalDate.of(2020, 8, 21);
        of = of.plusDays(-50);
        of = of.minusYears(1);
        System.out.println(of);
        DayOfWeek dayOfWeek = of.getDayOfWeek();
        System.out.println(dayOfWeek);
    }
}
